Linux & Privilege Escalation

← all quizzes

Answer all 15 questions, then submit. You need 75% to pass. If you don't pass, the reattempt unlocks after 24 hours.

Q1. In a shell script, why quote variables as "$var"?
Q2. A sudo rule permitting a wildcard path such as /bin/tar * is risky because:
Q3. Which file holds local user account entries?
Q4. LD_PRELOAD can be abused for escalation when:
Q5. Which command shows what the current user may run via sudo?
Q6. Which file defines what happens at each runlevel on a systemd host?
Q7. The capability cap_setuid on a binary allows it to:
Q8. The sticky bit on /tmp ensures that:
Q9. A writable directory on the PATH before /usr/bin lets an attacker:
Q10. A writable systemd unit file that root starts allows:
Q11. The second field of an /etc/passwd line containing x means:
Q12. In the permission string rwxr-xr--, the group may:
Q13. The main defence against kernel-exploit escalation is:
Q14. A container running with --privileged is risky because it:
Q15. A SUID binary executes with: